package com.bh.shipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bh.shipment.domain.JcShipmentTemplate;

import java.util.List;

/**
 * 运单模板Service接口
 *
 * @author slx
 * @date 2023-04-22
 */
public interface IJcShipmentTemplateService extends IService<JcShipmentTemplate> {
    /**
     * 查询运单模板
     *
     * @param id 运单模板主键
     * @return 运单模板
     */
    public JcShipmentTemplate selectJcShipmentTemplateById(Long id);

    /**
     * 查询运单模板列表
     *
     * @param jcShipmentTemplate 运单模板
     * @return 运单模板集合
     */
    public List<JcShipmentTemplate> selectJcShipmentTemplateList(JcShipmentTemplate jcShipmentTemplate);

    /**
     * 新增运单模板
     *
     * @param jcShipmentTemplate 运单模板
     * @return 结果
     */
    public int insertJcShipmentTemplate(JcShipmentTemplate jcShipmentTemplate);

    /**
     * 修改运单模板
     *
     * @param jcShipmentTemplate 运单模板
     * @return 结果
     */
    public int updateJcShipmentTemplate(JcShipmentTemplate jcShipmentTemplate);

    /**
     * 批量删除运单模板
     *
     * @param ids 需要删除的运单模板主键集合
     * @return 结果
     */
    public int deleteJcShipmentTemplateByIds(Long[] ids);

    /**
     * 删除运单模板信息
     *
     * @param id 运单模板主键
     * @return 结果
     */
    public int deleteJcShipmentTemplateById(Long id);
}
